![]() 06/10/2017 at 23:32 • Filed to: None | ![]() | ![]() |
I’ve been kicking around the idea of a Raspi3 virtual gauge cluster for the Miata. I decided to mock up some UI today using HTML5 Canvas and PixiJS. Still working on how I want to get the sensors hooked into this but it’s a fun project. Building UI is fun.
* Note that the actual thing is super smooth. It just looks choppy because it’s been screencapped and gif’d.
![]() 06/10/2017 at 23:36 |
|
OBD2-based?
![]() 06/10/2017 at 23:41 |
|
Currently, no.
NA Miata is OBD1 which is mostly diagnostic. Need to read the pulses for tac/speed from the speedo cable and coilpack respectively. Ultimately, I’d like to expand the project to OBD2 but even OBD2 doesn’t have a high enough poll rate on RPM to be smooth on something like this.
![]() 06/11/2017 at 00:14 |
|
This is true. So you’re just going to use the GPIO pins and splice into the coil pack signal and speed sender? What about that gear indicator?
![]() 06/11/2017 at 00:41 |
|
Yep - exactly. I’m thinking that I will probably have to rig up some kind of shifter position sensor for gear indicator. I don’t think it’s something I can get readily from anywhere.
![]() 06/11/2017 at 02:02 |
|
I’ve had no speedo for two years, the stock dummy oil gauge that’s completely useless, and a coolant temp gauge that’s about as accurate as rolling a 20 sided die with random temps corresponding to each number.
Have been seriously considering reaching out to these guys to make a custom cluster with all the info I want, arranged how I want it. But more power comes first....
![]() 06/11/2017 at 03:37 |
|
The way some ECU’s do it is a calculation based on driven wheel speed vs rpm. That then falls into a range that is expected for a certain gear, if it isn’t in the expected range for any gear then it’s neutral.